<?php

/* $Id$ */

class ProjectTemplates extends BasicTemplates {


	function ProjectTemplates() {

		/** Keywords mit Callback Funktionen registrieren **/
	
		$keywords_with_a_callback_arr	= array(

		"{project_details}" 	=>	array	(
								"table" 	=> "projects",
								"callback"	=> array( $this, "get_keyword_project_details" ),
								"parameter"	=> null
							),
		"{author_details}"	=>	array	(
								"table" 	=> "authors",
								"callback"	=> array( $this, "get_keyword_author_details" ),
								"parameter"	=> null
							),
		"{test}"		=>	array	(
								"table"		=> null,
								"callback"	=> array( $this, "getTest_html" ),
								"parameter"	=> null
							),
		"{posted_project_id}"	=>	array	(
								"table"		=> null,
								"callback"	=> array( $this, "get_keyword_posted" ),
								"parameter"	=> "project_id"
							),
		"{test_id}"		=>	$_REQUEST["project_id"]

		);

	}



}







?>